package com.bootdo.common.utils;

/**
 * Created by qingyong on 2018/4/6.
 */
public class PointTradeType {

    public static int WITHDRAWAL = 1; //提现

    public static int TRANSFER = 2; //转账

    public static int SHARE_OUT_BONUS = 3; //分润
    public static int NEW_MEMBER_ORDER = 31; //新会员订单积分
    public static int OLD_MEMBER_NEW_PROXY_RECOMMENDED_AWARD = 32; //老会员升级为新代理推荐奖积分
    public static int NEW_MEMBER_NEW_PROXY_RECOMMENDED_AWARD = 33; //新会员升级为新代理推荐奖积分
    public static int BUHUO_ORDER_POINT = 34; //补货订单积分

    public static int VIP_BONUS = 4; //VIP分红

    public static int VIP_1_BONUS = 41; //代理分红
    public static int VIP_2_BONUS = 42;//初级合伙人分红
    public static int VIP_3_BONUS = 43;//中级合伙人分红
    public static int VIP_4_BONUS = 44;//高级合伙人分红
    public static int VIP_5_BONUS = 45;//联合创始人分红

    public static int AGENT_BONUS = 5; //代理团队奖

    public static int AGENT_2_BONUS = 52; //初级合伙人

    public static int AGENT_3_BONUS = 53; //中级合伙人

    public static int AGENT_4_BONUS = 54; //高级合伙人

    public static int AGENT_5_BONUS = 55; //联合创始人

    public static int AGENT_NEWLY_BONUS = 6;//代理分红 代理商每周将获得公司新增业绩的1%作为平台管理奖励

    public static int AGENT_AGENT_BONUS = 7; //间接代理管理奖 团队内再增新代理商，则可获得公司给予的该代理 总奖金的15%

    public static int MANAGE_AGENT_BONUS = 8; //管理领导奖 团队内再增新代理商，则可获得公司给予的该代理 总奖金的15%

    public static int CASH_PAY = 9; //现金支付

    public static String getTypeDesc(Integer type) {
        String desc = "";
        switch (type) {
            case 1:
                desc = "提现";
                break;
            case 2:
                desc = "转账";
                break;
            case 3:
                desc = "分润";
                break;
            case 31:
                desc = "新会员订单积分";
                break;
            case 32:
                desc = "老会员升级代理推荐积分";
                break;
            case 33:
                desc = "会员升级代理推荐积分";
                break;
            case 34:
                desc = "补货订单积分";
                break;
            case 4:
                desc = "VIP分红";
                break;
            case 5:
                desc = "团队奖";
                break;
            case 6:
                desc = "静态分红";
                break;
            case 7:
                desc = "团队奖";
                break;
            case 8:
                desc = "管理领导奖";
                break;
            case 9:
                desc = "现金积分支付";
                break;
            case 41:
                desc = "代理分红";
                break;
            case 42:
                desc = "初级合伙人分红";
                break;
            case 43:
                desc = "中级合伙人分红";
                break;
            case 44:
                desc = "高级合伙人分红";
                break;
            case 45:
                desc = "特级合伙人分红";
                break;
            default:
                desc = "其他";
                break;
        }
        return desc;
    }
}
